﻿
@{
    ViewData["Title"] = "出入金汇率管理";
}

<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form">
        @Html.AntiForgeryToken()
        @*<div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" class="layui-input searchVal" placeholder="请输入用户名称或真实姓名" />
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <select name="searchRoleId" class="searchRoleId" lay-search="">
                    <option value="">所有用户</option>
                    <option value="3">营业部</option>
                    <option value="4">高级代理</option>
                    @*<option value="5">中级代理</option>*@
        @* <option value="6">直客</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">

            <a class="layui-btn search_btn" data-type="reload">搜索</a>
        </div>*@
        <div class="layui-inline">
            <a class="layui-btn layui-btn-normal addExchangeRate_btn"><i class="layui-icon">&#xe61f;</i>添加汇率规则</a>
        </div>
    </form>
</blockquote>
<table id="exchangeRateList" lay-filter="exchangeRateList"></table>

<!--操作-->
<script type="text/html" id="managerListBar">
    {{#  if(d.IsDefault ===true){ }}
    <a class="layui-btn layui-btn-sm" lay-event="setting">设置</a>
    {{#  } else{ }}
    <a class="layui-btn layui-btn-sm" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="del">删除</a>
    {{#  }}}
</script>
<script type="text/html" id="IsDefault">
    {{#  if(d.IsDefault ===true){ }}
    <input type="checkbox" name="IsDefault" value="{{d.Id}}" lay-filter="IsDefault" lay-skin="switch" lay-text="是|否" checked disabled>
    {{#  } else{ }}
    <input type="checkbox" name="IsDefault" value="{{d.Id}}" lay-filter="IsDefault" lay-skin="switch" lay-text="是|否" disabled>
    {{#  }}}
</script>
@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/exchangerate/exchangeRateList.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}